package com.server.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.server.mapper.OsaCashBackOrderMapper;
import com.server.model.OsaCashBackOrder;
import com.server.service.IOsaCashBackOrderService;

@Service
public class OsaCashBackOrderServiceImpl implements IOsaCashBackOrderService {
	
	@Autowired
    private OsaCashBackOrderMapper osaCashBackOrderMapper;

	@Override
	public int insert(OsaCashBackOrder record) {
		// TODO Auto-generated method stub
		return osaCashBackOrderMapper.insert(record);
	}

	@Override
	public OsaCashBackOrder selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return osaCashBackOrderMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<OsaCashBackOrder> find(OsaCashBackOrder OsaCashBackOrder) {
		// TODO Auto-generated method stub
		return osaCashBackOrderMapper.find(OsaCashBackOrder);
	}

	

}
